package com.njust.dataobject;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class VtInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public VtInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andTrainOnlyidIsNull() {
            addCriterion("train_onlyid is null");
            return (Criteria) this;
        }

        public Criteria andTrainOnlyidIsNotNull() {
            addCriterion("train_onlyid is not null");
            return (Criteria) this;
        }

        public Criteria andTrainOnlyidEqualTo(Long value) {
            addCriterion("train_onlyid =", value, "trainOnlyid");
            return (Criteria) this;
        }

        public Criteria andTrainOnlyidNotEqualTo(Long value) {
            addCriterion("train_onlyid <>", value, "trainOnlyid");
            return (Criteria) this;
        }

        public Criteria andTrainOnlyidGreaterThan(Long value) {
            addCriterion("train_onlyid >", value, "trainOnlyid");
            return (Criteria) this;
        }

        public Criteria andTrainOnlyidGreaterThanOrEqualTo(Long value) {
            addCriterion("train_onlyid >=", value, "trainOnlyid");
            return (Criteria) this;
        }

        public Criteria andTrainOnlyidLessThan(Long value) {
            addCriterion("train_onlyid <", value, "trainOnlyid");
            return (Criteria) this;
        }

        public Criteria andTrainOnlyidLessThanOrEqualTo(Long value) {
            addCriterion("train_onlyid <=", value, "trainOnlyid");
            return (Criteria) this;
        }

        public Criteria andTrainOnlyidIn(List<Long> values) {
            addCriterion("train_onlyid in", values, "trainOnlyid");
            return (Criteria) this;
        }

        public Criteria andTrainOnlyidNotIn(List<Long> values) {
            addCriterion("train_onlyid not in", values, "trainOnlyid");
            return (Criteria) this;
        }

        public Criteria andTrainOnlyidBetween(Long value1, Long value2) {
            addCriterion("train_onlyid between", value1, value2, "trainOnlyid");
            return (Criteria) this;
        }

        public Criteria andTrainOnlyidNotBetween(Long value1, Long value2) {
            addCriterion("train_onlyid not between", value1, value2, "trainOnlyid");
            return (Criteria) this;
        }

        public Criteria andCarriageNumIsNull() {
            addCriterion("carriage_num is null");
            return (Criteria) this;
        }

        public Criteria andCarriageNumIsNotNull() {
            addCriterion("carriage_num is not null");
            return (Criteria) this;
        }

        public Criteria andCarriageNumEqualTo(String value) {
            addCriterion("carriage_num =", value, "carriageNum");
            return (Criteria) this;
        }

        public Criteria andCarriageNumNotEqualTo(String value) {
            addCriterion("carriage_num <>", value, "carriageNum");
            return (Criteria) this;
        }

        public Criteria andCarriageNumGreaterThan(String value) {
            addCriterion("carriage_num >", value, "carriageNum");
            return (Criteria) this;
        }

        public Criteria andCarriageNumGreaterThanOrEqualTo(String value) {
            addCriterion("carriage_num >=", value, "carriageNum");
            return (Criteria) this;
        }

        public Criteria andCarriageNumLessThan(String value) {
            addCriterion("carriage_num <", value, "carriageNum");
            return (Criteria) this;
        }

        public Criteria andCarriageNumLessThanOrEqualTo(String value) {
            addCriterion("carriage_num <=", value, "carriageNum");
            return (Criteria) this;
        }

        public Criteria andCarriageNumLike(String value) {
            addCriterion("carriage_num like", value, "carriageNum");
            return (Criteria) this;
        }

        public Criteria andCarriageNumNotLike(String value) {
            addCriterion("carriage_num not like", value, "carriageNum");
            return (Criteria) this;
        }

        public Criteria andCarriageNumIn(List<String> values) {
            addCriterion("carriage_num in", values, "carriageNum");
            return (Criteria) this;
        }

        public Criteria andCarriageNumNotIn(List<String> values) {
            addCriterion("carriage_num not in", values, "carriageNum");
            return (Criteria) this;
        }

        public Criteria andCarriageNumBetween(String value1, String value2) {
            addCriterion("carriage_num between", value1, value2, "carriageNum");
            return (Criteria) this;
        }

        public Criteria andCarriageNumNotBetween(String value1, String value2) {
            addCriterion("carriage_num not between", value1, value2, "carriageNum");
            return (Criteria) this;
        }

        public Criteria andWheelNumIsNull() {
            addCriterion("wheel_num is null");
            return (Criteria) this;
        }

        public Criteria andWheelNumIsNotNull() {
            addCriterion("wheel_num is not null");
            return (Criteria) this;
        }

        public Criteria andWheelNumEqualTo(Integer value) {
            addCriterion("wheel_num =", value, "wheelNum");
            return (Criteria) this;
        }

        public Criteria andWheelNumNotEqualTo(Integer value) {
            addCriterion("wheel_num <>", value, "wheelNum");
            return (Criteria) this;
        }

        public Criteria andWheelNumGreaterThan(Integer value) {
            addCriterion("wheel_num >", value, "wheelNum");
            return (Criteria) this;
        }

        public Criteria andWheelNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("wheel_num >=", value, "wheelNum");
            return (Criteria) this;
        }

        public Criteria andWheelNumLessThan(Integer value) {
            addCriterion("wheel_num <", value, "wheelNum");
            return (Criteria) this;
        }

        public Criteria andWheelNumLessThanOrEqualTo(Integer value) {
            addCriterion("wheel_num <=", value, "wheelNum");
            return (Criteria) this;
        }

        public Criteria andWheelNumIn(List<Integer> values) {
            addCriterion("wheel_num in", values, "wheelNum");
            return (Criteria) this;
        }

        public Criteria andWheelNumNotIn(List<Integer> values) {
            addCriterion("wheel_num not in", values, "wheelNum");
            return (Criteria) this;
        }

        public Criteria andWheelNumBetween(Integer value1, Integer value2) {
            addCriterion("wheel_num between", value1, value2, "wheelNum");
            return (Criteria) this;
        }

        public Criteria andWheelNumNotBetween(Integer value1, Integer value2) {
            addCriterion("wheel_num not between", value1, value2, "wheelNum");
            return (Criteria) this;
        }

        public Criteria andJfgValueIsNull() {
            addCriterion("jfg_value is null");
            return (Criteria) this;
        }

        public Criteria andJfgValueIsNotNull() {
            addCriterion("jfg_value is not null");
            return (Criteria) this;
        }

        public Criteria andJfgValueEqualTo(BigDecimal value) {
            addCriterion("jfg_value =", value, "jfgValue");
            return (Criteria) this;
        }

        public Criteria andJfgValueNotEqualTo(BigDecimal value) {
            addCriterion("jfg_value <>", value, "jfgValue");
            return (Criteria) this;
        }

        public Criteria andJfgValueGreaterThan(BigDecimal value) {
            addCriterion("jfg_value >", value, "jfgValue");
            return (Criteria) this;
        }

        public Criteria andJfgValueGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("jfg_value >=", value, "jfgValue");
            return (Criteria) this;
        }

        public Criteria andJfgValueLessThan(BigDecimal value) {
            addCriterion("jfg_value <", value, "jfgValue");
            return (Criteria) this;
        }

        public Criteria andJfgValueLessThanOrEqualTo(BigDecimal value) {
            addCriterion("jfg_value <=", value, "jfgValue");
            return (Criteria) this;
        }

        public Criteria andJfgValueIn(List<BigDecimal> values) {
            addCriterion("jfg_value in", values, "jfgValue");
            return (Criteria) this;
        }

        public Criteria andJfgValueNotIn(List<BigDecimal> values) {
            addCriterion("jfg_value not in", values, "jfgValue");
            return (Criteria) this;
        }

        public Criteria andJfgValueBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("jfg_value between", value1, value2, "jfgValue");
            return (Criteria) this;
        }

        public Criteria andJfgValueNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("jfg_value not between", value1, value2, "jfgValue");
            return (Criteria) this;
        }

        public Criteria andFzValueIsNull() {
            addCriterion("fz_value is null");
            return (Criteria) this;
        }

        public Criteria andFzValueIsNotNull() {
            addCriterion("fz_value is not null");
            return (Criteria) this;
        }

        public Criteria andFzValueEqualTo(BigDecimal value) {
            addCriterion("fz_value =", value, "fzValue");
            return (Criteria) this;
        }

        public Criteria andFzValueNotEqualTo(BigDecimal value) {
            addCriterion("fz_value <>", value, "fzValue");
            return (Criteria) this;
        }

        public Criteria andFzValueGreaterThan(BigDecimal value) {
            addCriterion("fz_value >", value, "fzValue");
            return (Criteria) this;
        }

        public Criteria andFzValueGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("fz_value >=", value, "fzValue");
            return (Criteria) this;
        }

        public Criteria andFzValueLessThan(BigDecimal value) {
            addCriterion("fz_value <", value, "fzValue");
            return (Criteria) this;
        }

        public Criteria andFzValueLessThanOrEqualTo(BigDecimal value) {
            addCriterion("fz_value <=", value, "fzValue");
            return (Criteria) this;
        }

        public Criteria andFzValueIn(List<BigDecimal> values) {
            addCriterion("fz_value in", values, "fzValue");
            return (Criteria) this;
        }

        public Criteria andFzValueNotIn(List<BigDecimal> values) {
            addCriterion("fz_value not in", values, "fzValue");
            return (Criteria) this;
        }

        public Criteria andFzValueBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fz_value between", value1, value2, "fzValue");
            return (Criteria) this;
        }

        public Criteria andFzValueNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fz_value not between", value1, value2, "fzValue");
            return (Criteria) this;
        }

        public Criteria andFzyzValueIsNull() {
            addCriterion("fzyz_value is null");
            return (Criteria) this;
        }

        public Criteria andFzyzValueIsNotNull() {
            addCriterion("fzyz_value is not null");
            return (Criteria) this;
        }

        public Criteria andFzyzValueEqualTo(BigDecimal value) {
            addCriterion("fzyz_value =", value, "fzyzValue");
            return (Criteria) this;
        }

        public Criteria andFzyzValueNotEqualTo(BigDecimal value) {
            addCriterion("fzyz_value <>", value, "fzyzValue");
            return (Criteria) this;
        }

        public Criteria andFzyzValueGreaterThan(BigDecimal value) {
            addCriterion("fzyz_value >", value, "fzyzValue");
            return (Criteria) this;
        }

        public Criteria andFzyzValueGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("fzyz_value >=", value, "fzyzValue");
            return (Criteria) this;
        }

        public Criteria andFzyzValueLessThan(BigDecimal value) {
            addCriterion("fzyz_value <", value, "fzyzValue");
            return (Criteria) this;
        }

        public Criteria andFzyzValueLessThanOrEqualTo(BigDecimal value) {
            addCriterion("fzyz_value <=", value, "fzyzValue");
            return (Criteria) this;
        }

        public Criteria andFzyzValueIn(List<BigDecimal> values) {
            addCriterion("fzyz_value in", values, "fzyzValue");
            return (Criteria) this;
        }

        public Criteria andFzyzValueNotIn(List<BigDecimal> values) {
            addCriterion("fzyz_value not in", values, "fzyzValue");
            return (Criteria) this;
        }

        public Criteria andFzyzValueBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fzyz_value between", value1, value2, "fzyzValue");
            return (Criteria) this;
        }

        public Criteria andFzyzValueNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("fzyz_value not between", value1, value2, "fzyzValue");
            return (Criteria) this;
        }

        public Criteria andQdValueIsNull() {
            addCriterion("qd_value is null");
            return (Criteria) this;
        }

        public Criteria andQdValueIsNotNull() {
            addCriterion("qd_value is not null");
            return (Criteria) this;
        }

        public Criteria andQdValueEqualTo(BigDecimal value) {
            addCriterion("qd_value =", value, "qdValue");
            return (Criteria) this;
        }

        public Criteria andQdValueNotEqualTo(BigDecimal value) {
            addCriterion("qd_value <>", value, "qdValue");
            return (Criteria) this;
        }

        public Criteria andQdValueGreaterThan(BigDecimal value) {
            addCriterion("qd_value >", value, "qdValue");
            return (Criteria) this;
        }

        public Criteria andQdValueGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("qd_value >=", value, "qdValue");
            return (Criteria) this;
        }

        public Criteria andQdValueLessThan(BigDecimal value) {
            addCriterion("qd_value <", value, "qdValue");
            return (Criteria) this;
        }

        public Criteria andQdValueLessThanOrEqualTo(BigDecimal value) {
            addCriterion("qd_value <=", value, "qdValue");
            return (Criteria) this;
        }

        public Criteria andQdValueIn(List<BigDecimal> values) {
            addCriterion("qd_value in", values, "qdValue");
            return (Criteria) this;
        }

        public Criteria andQdValueNotIn(List<BigDecimal> values) {
            addCriterion("qd_value not in", values, "qdValue");
            return (Criteria) this;
        }

        public Criteria andQdValueBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("qd_value between", value1, value2, "qdValue");
            return (Criteria) this;
        }

        public Criteria andQdValueNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("qd_value not between", value1, value2, "qdValue");
            return (Criteria) this;
        }

        public Criteria andQdyzValueIsNull() {
            addCriterion("qdyz_value is null");
            return (Criteria) this;
        }

        public Criteria andQdyzValueIsNotNull() {
            addCriterion("qdyz_value is not null");
            return (Criteria) this;
        }

        public Criteria andQdyzValueEqualTo(BigDecimal value) {
            addCriterion("qdyz_value =", value, "qdyzValue");
            return (Criteria) this;
        }

        public Criteria andQdyzValueNotEqualTo(BigDecimal value) {
            addCriterion("qdyz_value <>", value, "qdyzValue");
            return (Criteria) this;
        }

        public Criteria andQdyzValueGreaterThan(BigDecimal value) {
            addCriterion("qdyz_value >", value, "qdyzValue");
            return (Criteria) this;
        }

        public Criteria andQdyzValueGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("qdyz_value >=", value, "qdyzValue");
            return (Criteria) this;
        }

        public Criteria andQdyzValueLessThan(BigDecimal value) {
            addCriterion("qdyz_value <", value, "qdyzValue");
            return (Criteria) this;
        }

        public Criteria andQdyzValueLessThanOrEqualTo(BigDecimal value) {
            addCriterion("qdyz_value <=", value, "qdyzValue");
            return (Criteria) this;
        }

        public Criteria andQdyzValueIn(List<BigDecimal> values) {
            addCriterion("qdyz_value in", values, "qdyzValue");
            return (Criteria) this;
        }

        public Criteria andQdyzValueNotIn(List<BigDecimal> values) {
            addCriterion("qdyz_value not in", values, "qdyzValue");
            return (Criteria) this;
        }

        public Criteria andQdyzValueBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("qdyz_value between", value1, value2, "qdyzValue");
            return (Criteria) this;
        }

        public Criteria andQdyzValueNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("qdyz_value not between", value1, value2, "qdyzValue");
            return (Criteria) this;
        }

        public Criteria andZxTempIsNull() {
            addCriterion("zx_temp is null");
            return (Criteria) this;
        }

        public Criteria andZxTempIsNotNull() {
            addCriterion("zx_temp is not null");
            return (Criteria) this;
        }

        public Criteria andZxTempEqualTo(BigDecimal value) {
            addCriterion("zx_temp =", value, "zxTemp");
            return (Criteria) this;
        }

        public Criteria andZxTempNotEqualTo(BigDecimal value) {
            addCriterion("zx_temp <>", value, "zxTemp");
            return (Criteria) this;
        }

        public Criteria andZxTempGreaterThan(BigDecimal value) {
            addCriterion("zx_temp >", value, "zxTemp");
            return (Criteria) this;
        }

        public Criteria andZxTempGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("zx_temp >=", value, "zxTemp");
            return (Criteria) this;
        }

        public Criteria andZxTempLessThan(BigDecimal value) {
            addCriterion("zx_temp <", value, "zxTemp");
            return (Criteria) this;
        }

        public Criteria andZxTempLessThanOrEqualTo(BigDecimal value) {
            addCriterion("zx_temp <=", value, "zxTemp");
            return (Criteria) this;
        }

        public Criteria andZxTempIn(List<BigDecimal> values) {
            addCriterion("zx_temp in", values, "zxTemp");
            return (Criteria) this;
        }

        public Criteria andZxTempNotIn(List<BigDecimal> values) {
            addCriterion("zx_temp not in", values, "zxTemp");
            return (Criteria) this;
        }

        public Criteria andZxTempBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("zx_temp between", value1, value2, "zxTemp");
            return (Criteria) this;
        }

        public Criteria andZxTempNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("zx_temp not between", value1, value2, "zxTemp");
            return (Criteria) this;
        }

        public Criteria andZxTempincIsNull() {
            addCriterion("zx_tempinc is null");
            return (Criteria) this;
        }

        public Criteria andZxTempincIsNotNull() {
            addCriterion("zx_tempinc is not null");
            return (Criteria) this;
        }

        public Criteria andZxTempincEqualTo(BigDecimal value) {
            addCriterion("zx_tempinc =", value, "zxTempinc");
            return (Criteria) this;
        }

        public Criteria andZxTempincNotEqualTo(BigDecimal value) {
            addCriterion("zx_tempinc <>", value, "zxTempinc");
            return (Criteria) this;
        }

        public Criteria andZxTempincGreaterThan(BigDecimal value) {
            addCriterion("zx_tempinc >", value, "zxTempinc");
            return (Criteria) this;
        }

        public Criteria andZxTempincGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("zx_tempinc >=", value, "zxTempinc");
            return (Criteria) this;
        }

        public Criteria andZxTempincLessThan(BigDecimal value) {
            addCriterion("zx_tempinc <", value, "zxTempinc");
            return (Criteria) this;
        }

        public Criteria andZxTempincLessThanOrEqualTo(BigDecimal value) {
            addCriterion("zx_tempinc <=", value, "zxTempinc");
            return (Criteria) this;
        }

        public Criteria andZxTempincIn(List<BigDecimal> values) {
            addCriterion("zx_tempinc in", values, "zxTempinc");
            return (Criteria) this;
        }

        public Criteria andZxTempincNotIn(List<BigDecimal> values) {
            addCriterion("zx_tempinc not in", values, "zxTempinc");
            return (Criteria) this;
        }

        public Criteria andZxTempincBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("zx_tempinc between", value1, value2, "zxTempinc");
            return (Criteria) this;
        }

        public Criteria andZxTempincNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("zx_tempinc not between", value1, value2, "zxTempinc");
            return (Criteria) this;
        }

        public Criteria andTrainDateIsNull() {
            addCriterion("train_date is null");
            return (Criteria) this;
        }

        public Criteria andTrainDateIsNotNull() {
            addCriterion("train_date is not null");
            return (Criteria) this;
        }

        public Criteria andTrainDateEqualTo(Date value) {
            addCriterion("train_date =", value, "trainDate");
            return (Criteria) this;
        }

        public Criteria andTrainDateNotEqualTo(Date value) {
            addCriterion("train_date <>", value, "trainDate");
            return (Criteria) this;
        }

        public Criteria andTrainDateGreaterThan(Date value) {
            addCriterion("train_date >", value, "trainDate");
            return (Criteria) this;
        }

        public Criteria andTrainDateGreaterThanOrEqualTo(Date value) {
            addCriterion("train_date >=", value, "trainDate");
            return (Criteria) this;
        }

        public Criteria andTrainDateLessThan(Date value) {
            addCriterion("train_date <", value, "trainDate");
            return (Criteria) this;
        }

        public Criteria andTrainDateLessThanOrEqualTo(Date value) {
            addCriterion("train_date <=", value, "trainDate");
            return (Criteria) this;
        }

        public Criteria andTrainDateIn(List<Date> values) {
            addCriterion("train_date in", values, "trainDate");
            return (Criteria) this;
        }

        public Criteria andTrainDateNotIn(List<Date> values) {
            addCriterion("train_date not in", values, "trainDate");
            return (Criteria) this;
        }

        public Criteria andTrainDateBetween(Date value1, Date value2) {
            addCriterion("train_date between", value1, value2, "trainDate");
            return (Criteria) this;
        }

        public Criteria andTrainDateNotBetween(Date value1, Date value2) {
            addCriterion("train_date not between", value1, value2, "trainDate");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}